<!-- 文件描述: 封装删除按钮 -->
<!-- 作者: 苏宇浩 -->
<!-- 时间: 2021/12/07 -->
<template>
    <Button type="error" size="small" @click="remove">删除</Button>
</template>
<script>
export default {
  name: "SDelbutton",
  data() {
    return {};
  },

  mounted() {},

  methods: {
    remove() {
      this.$Modal.confirm({
        title: "确认删除?",
        onOk: () => {
          this.$Message.info("Clicked ok");
        },
        onCancel: () => {
          this.$Message.info("Clicked cancel");
        },
      });
    },
  },
};
</script>

<style lang="scss" scoped>
</style>